﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AB_SD_Entities
{
    /// <summary>
    /// Country entity
    /// </summary>
    public class Country
    {
        private int id;
        private string name;        

        /// <summary>
        /// Get or set country id
        /// </summary>
        public int Id
        {
            get { return id; }
            set { id = value; }
        }        

        /// <summary>
        /// Get or set country name
        /// </summary>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
                
        /// <summary>
        /// Construct new country
        /// </summary>
        public Country()
        {
            id = 0;
            name = "";            
        }

        /// <summary>
        /// Construct new country
        /// </summary>
        /// <param name="countryID"></param>
        /// <param name="countryName"></param>
        public Country(int countryID, string countryName)
        {
            id = countryID;
            name = countryName;
        }
    }
}
